tutorial05/tree.h
/* * Accord Software, Inc. * * Tutorial 05 */ #define TREE_PROGNUM 0x20000000 + 5 #define TREE_VERSNUM 1 /* * node containing a number */ struct tnode { int num; /* number */ struct tnode *left; /* left child */ struct tnode *right; /* right child */ }; /* * node containing a token */ struct strnode { char *token; struct strnode *left; struct strnode *right; };